<div class="header_menu">
    <div class="container">
        <div class="header-nav clearfix">
            <?php echo $this->partial('shop/layout/headerMenu'); ?>
        </div>
    </div>
</div>
</div>

<div class="container breadcrumbs">
    <?php
    $classMenu = $this->shopHelper()->helperPartial('cmsHelper', 1, $this->cmsInfo->getCmsClassId());
    echo $this->partial($classMenu['partialFile'], $classMenu['partialArg']);
    ?>
    <a href="<?php echo $this->url('shop-cms', ['id' => $this->cmsClassInfo->getCmsClassId()]); ?>"><?php echo $this->escapeHtml($this->cmsClassInfo->getCmsClassName()); ?></a><span class="sep">/</span>
    <span><?php echo $this->escapeHtml($this->cmsInfo->getCmsTitle()); ?></span>
</div>

<div class="container clearfix">
    <div class="row">

        <div class="row exchange">
            <div class="col col-4 exchange-side">
                <div class="uc-nav-box ">
                    <div class="box-hd">
                        <h3 class="title"><?php echo $this->translate('顶级分类'); ?></h3>
                    </div>
                    <div class="box-bd">
                        <ul class="uc-nav-list saled">
                            <?php if($this->cmsTopClass) foreach ($this->cmsTopClass as $tClassVal) { ?>
                                <li <?php if($tClassVal->getCmsClassId() == $this->cmsInfo->getCmsClassId()) echo 'class="current"'; ?>><a href="<?php echo $this->url('shop-cms', ['id' => $tClassVal->getCmsClassId()]); ?>"><?php echo $this->escapeHtml($tClassVal->getCmsClassName()); ?></a></li>
                            <?php } ?>
                        </ul>
                    </div>
                </div>
                <?php  if ($this->cmsClass) { ?>
                    <div class="uc-nav-box">
                        <div class="box-hd">
                            <h3 class="title"><?php echo $this->translate('同级分类'); ?></h3>
                        </div>
                        <div class="box-bd">
                            <ul class="uc-nav-list feature">
                                <?php foreach($this->cmsClass as $cClassVal) { ?>
                                    <li <?php if($cClassVal->getCmsClassId() == $this->cmsInfo->getCmsClassId()) echo 'class="current"'; ?>><a href="<?php echo $this->url('shop-cms', ['id' => $cClassVal->getCmsClassId()]); ?>"><?php echo $this->escapeHtml($cClassVal->getCmsClassName()); ?></a></li>
                                <?php } ?>
                            </ul>
                        </div>
                    </div>
                <?php } ?>
            </div>
            <!-- .span4 END -->
            <div class="col col-16 exchange-right">

                <div class="xm-box exchange service-right marginLeft20">
                    <div class="box-hd">
                        <h2 class="title"><?php echo $this->escapeHtml($this->cmsInfo->getCmsTitle()); ?></h2>
                    </div>
                    <div class="bd" style="padding-bottom: 5px;">
                        <p>
                            <?php echo $this->translate('作者'); ?>：<?php echo $this->cmsInfo->getCmsWriter()?:$this->translate('匿名'); ?>&nbsp;&nbsp;&nbsp;<?php echo $this->shopDateFormat()->cmsAddTime($this->cmsInfo->getCmsAddTime()); ?>
                        </p>
                        <br>
                        <div style="font-size:16px;" class="edit_table_css">
                            <?php echo $this->cmsInfo->getCmsBody(); ?>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>